<?php
    // 为方便并保证您以后的快速升级 请使用SHL提供的如下全局数组
	
	// 数组定义/config/wjsw-global.php
	
	// 如有需要， 请去掉注释，输出数据。
	/*
	echo '<pre>';
		print_r($tag);
	echo '</pre>';
	*/
?>
<style type="text/css">
*{ margin:0; padding:0;}
ul,li{ list-style:none;}
a{ text-decoration:none;}
#articeBottom { font-size: 14px; margin: 6px 0 10px; padding-top: 10px; text-align: right; width: 97%;}
#articeBottom li{ float:left; padding:0 2px; list-style:none}
#articeBottom .pagebarCurrent{ font-weight:bold;}
.xwzx_nr ul li h3{ overflow:inherit; width:100%;}
.xwzx_nr ul li p{ width:100%; overflow:inherit;}
</style>
<div class="xwzx_nr">
       <ul>
<?php 
	if( !empty( $tag['data.results'] ) )
	{
		foreach($tag['data.results'] as $k =>$data)
		{
			$content = strip_tags($data['content']);
			?>
           
            <li><a href="<?php echo sys_href($data['channelId'],'list',$data['id'])?>">
               <h3><?php echo cnSubStr(clearstyle($data['title']),0,25);?></h3>
               <p><?php echo cnSubStr(clearstyle($data['content']),0,30);?></p></a>
             </li>
			<?php			
		}
	}
	else
	{
		echo '暂无文章。';
	}
?>
	</ul>
	<div class="clear"></div>
	<div id="articeBottom"><?php if(!empty($tag['pager.cn'])) echo $tag['pager.cn']; ?></div>
</div>